10. Going Above and Beyond - Localization

Localization

If you desire to perform localization, there are only a few changes you need to make. You can start by duplicating your mapping.launch file and calling it localization.launch.

The following changes also need to be made to the localization.launch file:

  1. Remove the args="--delete_db_on_start" from your node launcher since you will need your database to localize too.

  2. Remove the Mem/NotLinkedNodesKept parameter

  3. Lastly, add the Mem/IncrementalMemory parameter of type string and set it to false to finalize the changes needed to put the robot into localization mode.

This is another method for localization you can keep in mind when working on your next robotics project!